package main.java.com.zzxy.mybatis.dao;

public class UserDaoImpl {
    SqlSession sqlSession;

    public UserDaoImpl(SqlSession sqlSession) {
        this.sqlSession = sqlSession;
    }

    public <User> User findUserByDao(int id) {
        User user = sqlSession.selectOne("findUserById", id);
        return user;
    }

    private class SqlSession {
        public <User> User selectOne(String findUserById, int id) {
        }
    }
}